package mk.company.fin.frame.internal;

import javax.swing.JInternalFrame;

import org.springframework.context.ApplicationContext;

public abstract class AbstractInternalFrame extends JInternalFrame {

	private static final long serialVersionUID = -394684056219543924L;
	private ApplicationContext context;

//	public AbstractInternalFrame (String title,boolean resizable,boolean closable,boolean maximizable){
//		super(title,resizable,closable,maximizable);
//	}
	public ApplicationContext getContext() {
		return context;
	}
	
	public void setContext(ApplicationContext context) {
		this.context = context;
	}
	
	public abstract void initialize(ApplicationContext context);
	
	public abstract void draw();
}
